package Service;
import pojo.VirtualProduct;

import java.util.List;

public interface VirtualProductService {
    List<VirtualProduct> findAll();
    List<VirtualProduct> findByCategory(Long cid);
    VirtualProduct findById(Long id);
    void reduceStock(Long id, int quantity);
}